package com.leo.erp.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_serial_number")
public class SerialNumber {
	@TableId(value = "serialId", type = IdType.AUTO)
	private int serialId;
	
	@TableField("materialId")
	private int materialId;//产品表id
	
	@TableField("serialNumber")
	private String serialNumber;//序列号
	
	@TableField("isSell")
	private String isSell;//是否卖出，0未卖出，1卖出
	
	@TableField("remark")
	private String remark;//备注
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除
	
	@TableField("createTime")
	private Date createTime;//创建时间
	
	@TableField("creator")
	private int creator;//创建人
	
	@TableField("updateTime")
	private Date updateTime;//更新时间
	
	@TableField("updater")
	private int updater;//更新人
	
	@TableField("depotHeadId")
	private int depotHeadId;//单据主表id，用于跟踪序列号流向
	
	@TableField("tenantId")
	private int tenantId;//租户id

	public int getSerialId() {
		return serialId;
	}

	public void setSerialId(int serialId) {
		this.serialId = serialId;
	}

	public int getMaterialId() {
		return materialId;
	}

	public void setMaterialId(int materialId) {
		this.materialId = materialId;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber == null ? null : serialNumber.trim();
	}

	public String getIsSell() {
		return isSell;
	}

	public void setIsSell(String isSell) {
		this.isSell = isSell == null ? null : isSell.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getUpdater() {
		return updater;
	}

	public void setUpdater(int updater) {
		this.updater = updater;
	}

	public int getDepotHeadId() {
		return depotHeadId;
	}

	public void setDepotHeadId(int depotHeadId) {
		this.depotHeadId = depotHeadId;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}
	
	
}
